/**
 * Created by trump on 15/11/30.
 */
import React from 'react';
export default class Application extends React.Component {
    constructor(props, arg1, arg2) {
        super(props, arg1, arg2);
    }

    render() {
        var props = this.props;
        var Page = props.children.type;
        var {history, location, params, route, routeParams, routes} = props;
        var pageProps = {history, location, params, route, routeParams, routes};
        return <Page {...pageProps}/>;
    }
}